import fetch from '@/utils/request'

export function pageAll(query) {
  return fetch({
    url: '/api/adminCrm/payForAnotherBank/list',
    method: 'post',
    data: query
  })
}

export function addBank(data) {
  return fetch({
    url: '/api/adminCrm/payForAnotherBank/add',
    method: 'post',
    data: data
  })
}

export function deleteObj(data) {
  return fetch({
    url: '/api/adminCrm/payForAnotherBank/delete',
    method: 'post',
    data: data
  })
}

export function updateObj(data) {
  return fetch({
    url: '/api/adminCrm/payForAnotherBank/update',
    method: 'post',
    data: data
  })
}
